home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1607 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: bmecg.bme.ohio-state.edu!xiaoyi
  2. From: xiaoyi@bmecg.bme.ohio-state.edu (Xiaoyi Wu)
  3. Newsgroups: comp.graphics.algorithms,comp.lang.c,sci.image.processing
  4. Subject: Re: 2D image rotation problem
  5. Date: 15 Jan 1996 20:04:49 GMT
  6. Organization: Biomedical Engineering OSU
  7. Distribution: world
  8. Message-ID: <4dec11$jg5@charm.magnus.acs.ohio-state.edu>
  9. References: <4de7gt$j0i@charm.magnus.acs.ohio-state.edu>
  10. Reply-To: xiaoyi@mozart.bme.ohio-state.edu (Xiaoyi Wu)
  11. NNTP-Posting-Host: bmecg.bme.ohio-state.edu
  12.  
  13. Just thought I might make things a bit more clear
  14. here:
  15.  
  16. The FAQ talked about doing a reverse rotation to
  17. avoid holes in the rotated image, which I followed.
  18. The question is: even if you do it the reverse way,
  19. you still end up with some pixels that fall out
  20. of the range of the source image. How do you deal
  21. with this - for now, I just arbitrarily assign them
  22. the same value as the boundary pixels. Is there a
  23. better way?
  24.  
  25. Thanks.
  26.  
  27. In article <4de7gt$j0i@charm.magnus.acs.ohio-state.edu>,
  28. xiaoyi@bmecg.bme.ohio-state.edu (Xiaoyi Wu) writes:
  29. > Path: magnus.acs.ohio-state.edu!bmecg.bme.ohio-state.edu!xiaoyi
  30. > From: xiaoyi@bmecg.bme.ohio-state.edu (Xiaoyi Wu)
  31. > Newsgroups: comp.graphics.algorithms,comp.lang.c
  32. > Subject: 2D image rotation problem
  33. > Date: 15 Jan 1996 18:47:57 GMT
  34. > Organization: Biomedical Engineering OSU
  35. > Lines: 12
  36. > Distribution: world
  37. > Message-ID: <4de7gt$j0i@charm.magnus.acs.ohio-state.edu>
  38. > Reply-To: xiaoyi@mozart.bme.ohio-state.edu (Xiaoyi Wu)
  39. > NNTP-Posting-Host: bmecg.bme.ohio-state.edu
  40. > Xref: magnus.acs.ohio-state.edu comp.graphics.algorithms:26053
  41. comp.lang.c:153880
  42. > I did read the FAQ and digged up Graphics Gems, but
  43. > no source code was given. So, here it comes:
  44. > I need to rotate a 2D image by a specified angle with
  45. > respect to a specified point within the image.
  46. > Has anyone written a program like this before? I'd
  47. > greatly appreciate any inputs. 
  48. > Thanks.
  49. > Xiaoyi
  50.